home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / fpc225_3.zip / F-PCHELP.ZIP / TIMER.HLP < prev    next >
Text File  |  1988-06-28  |  2KB  |  67 lines

  1. \ TIMER.HLP      Time measurment words for F-PC.
  2.  
  3.  
  4. GETDATE         ( --- Y MD )
  5.         Get the DOS format double date.
  6.  
  7. SETDATE         ( NM Y --- )
  8.         Set the DOS date given the double date.
  9.  
  10. GETTIME         ( --- HM Sh )
  11.         Get the DOS format double time.
  12.  
  13. SETTIME         ( HM Sh --- )
  14.         Set the DOS time given the double time.
  15.  
  16. .##             ( N1 --- )
  17.         Display the first two least significant digits of n1.
  18.  
  19. <.HM>           ( D1 --- N1 )
  20.         Display the Hours and Minutes portion of the D1 DOS time.
  21.  
  22. <.SH>           ( N1 --- )
  23.         Display the seconds and hundreds portion of the n1 result
  24.         from the DOS time.
  25.  
  26. <.TIME>         ( d1 --- )
  27.         Print the DOS d1 time.
  28.  
  29. .TIME           ( --- )
  30.         Get the time from DOS, and display it.
  31.  
  32. <.DATE>         ( D1 --- )
  33.         Display the Dos d1 date.
  34.  
  35. .DATE           ( --- )
  36.         Get and display the DOS date.
  37.  
  38. STIME           ( --- a1 )
  39.         A double variable that holds the BINARY start time for various
  40.         timing operations.
  41.  
  42. TTIME           ( --- a1 )
  43.         A double variable that holds the DOS total time.
  44.  
  45. T>B             ( d1 --- d2 )
  46.         Convert the d1 DOS double time value to d2 the BINARY time.
  47.  
  48. B>T             ( d1 --- d2 )
  49.         Convert the d1 BINARY time value to d2 the DOS time format.
  50.  
  51. TIME-RESET      ( --- )
  52.         Reset the start time to the current time.
  53.  
  54. TIME-ELAPSED    ( --- d1 )
  55.         Return d1 the binary time elapsed since the last TIME-RESET.
  56.  
  57. B>SEC           ( D1 - N1 )
  58.         Convert the BINARY time d1 to seconds. Overflows at 18 hours.
  59.  
  60. .ELAPSED        ( --- )
  61.         Display the elapsed time. Overflows at 18 hours.
  62.  
  63. TIMER           ( | forth_commands --- )
  64.         Measure the time it takes to interpret the forth commands
  65.         on the following command line.
  66.  
  67.